package com.jsrj.dto;

import com.jsrj.model.WxUserInfo;

import java.io.Serializable;
import java.util.List;

public class UsersDto implements Serializable {

    Long id;
    //    openid,
    String openId;
    //    nikeName,
    String nickName;
    //    gender,
    String gender;
    //     `language`,
    String language;
    //    city,
    String city;
    //    province,
    String province;
    //    country,
    String country;
    //    avatarUrl,
    String avatarUrl;
    //    appid,
    String appId;
    //    `timestamp`
    String timeTamp;


    private String token;
    List<String> permissions;
    List<String> roles;

//    验证码
    private String code;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTimeTamp() {
        return timeTamp;
    }

    public void setTimeTamp(String timeTamp) {
        this.timeTamp = timeTamp;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    @Override
    public String toString() {
        return "UsersDto{" +
                "id=" + id +
                ", openId='" + openId + '\'' +
                ", nikeName='" + nickName + '\'' +
                ", gender='" + gender + '\'' +
                ", language='" + language + '\'' +
                ", city='" + city + '\'' +
                ", province='" + province + '\'' +
                ", country='" + country + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", appId='" + appId + '\'' +
                ", timeTamp='" + timeTamp + '\'' +
                ", token='" + token + '\'' +
                ", permissions=" + permissions +
                ", roles=" + roles +
                ", code='" + code + '\'' +
                '}';
    }
}
